package la.bbs558.entity;

import java.util.Date;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import java.io.Serializable;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import lombok.Data;
/**
 * (HotWord)表实体类
 *
 * @author Shanks
 * @since 2023-12-16 14:50:07
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Accessors(chain = true)
public class HotWord extends Model<HotWord> {
    
    private Long id;
    //名称
    private String name;
    //搜索次数
    private Integer searchTimes;
    //热力值
    private Integer hotValue;
    private Date createTime;
    private Date updateTime;

    //获取主键值
    @Override
    protected Serializable pkVal() {
        return this.id;
    }
}

